package com.wisdytech.ccdserver.bucket.api;

import com.wisdytech.ccdserver.bucket.dto.BucketTenDto;
import com.wisdytech.ccdserver.common.dto.FileDto;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.common.bean.MultiResultResponse;
import com.wisdytech.common.bean.UniqueResultResponse;

import java.io.InputStream;
import java.util.List;

public interface IBucketMngService {

    UniqueResultResponse getBucketList(Filter filter) throws Exception;

    UniqueResultResponse downloadCcdTemplate(Filter filter) throws Exception;


    UniqueResultResponse deleteBucketTaskByIds(Filter filter);


    UniqueResultResponse interruptBucketTaskByIds(Filter filter);

    UniqueResultResponse getBucketListTen(Filter filter) throws Exception;

    UniqueResultResponse getBucketsByName(Filter filter) throws Exception;

    MultiResultResponse getBucketsByPage(Filter filter) throws Exception;

    BucketTenDto getBucketsByPages(Filter filter) throws Exception;

    UniqueResultResponse getDirectorys(Filter filter) throws Exception;

    UniqueResultResponse getImageUrl(Filter filter) throws Exception;

    InputStream getImage(Filter filter) throws Exception;

    UniqueResultResponse getImageResult(Filter filter) throws Exception;

    UniqueResultResponse manualOperationBucketTask(Filter filter);

    MultiResultResponse<FileDto> exportBucketsByPage(Filter filter, int rowLimit) throws Exception;

}
